package com.ruoyi.cloudpc.mapper;

import com.ruoyi.cloudpc.domain.CloudIntegration;

import java.util.List;

/**
 * 积分Mapper接口
 *
 * @author Ten
 * @date 2025-09-13
 */
public interface CloudIntegrationMapper {
    /**
     * 查询积分
     *
     * @param id 积分主键
     * @return 积分
     */
    public CloudIntegration selectCloudIntegrationById(Long id);

    /**
     * 查询积分列表
     *
     * @param cloudIntegration 积分
     * @return 积分集合
     */
    public List<CloudIntegration> selectCloudIntegrationList(CloudIntegration cloudIntegration);

    /**
     * 新增积分
     *
     * @param cloudIntegration 积分
     * @return 结果
     */
    public int insertCloudIntegration(CloudIntegration cloudIntegration);

    /**
     * 修改积分
     *
     * @param cloudIntegration 积分
     * @return 结果
     */
    public int updateCloudIntegration(CloudIntegration cloudIntegration);

    /**
     * 删除积分
     *
     * @param id 积分主键
     * @return 结果
     */
    public int deleteCloudIntegrationById(Long id);

    /**
     * 批量删除积分
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCloudIntegrationByIds(Long[] ids);
}
